package com.zsrt.java.day20161223.xww.demo10;

import org.junit.Test;

public class Table {
	/**
	 * while打印的九九乘法表
	 */
	@Test
	public void test10(){
		
		int outer=1;
		while(outer<=9){
			int inner=1;
			while(inner<=outer){
				System.out.print(outer+"*"+inner+"="+outer*inner);
				System.out.print("\t");
				inner++;
			}
			System.out.println();
			outer++;
		}
	}
}
		
			
		
